Previous Book Contents Book Index Next

Inside Macintosh: QuickTime /
Chapter 3 - Image Compression Manager / Image Compression Manager Reference
Image Compression Manager Functions / Aligning Windows


AlignScreenRect

The AlignScreenRect function aligns a specified rectangle to the strictest screen that the rectangle intersects.

pascal void AlignScreenRect (Rect *rp, 
                           AlignmentProcRecordPtr alignmentProc);
rp
Contains a pointer to a rectangle defined in global screen coordinates.
alignmentProc

Points to your own alignment behavior function. Set this parameter to nil to use the standard behavior. Your alignment function must be in the following form:
pascal void MyAlignmentProc (Rect *rp, long refCon);

See "Alignment Functions" on page 3-149 for details.
DESCRIPTION
Normally, the AlignScreenRect function is not called directly.


Previous Book Contents Book Index Next

© Apple Computer, Inc.
6 JUL 1996